package com.itheima.demo;

public class Student {
    String name;
    double chinese;
    double math;
    public void printTotalScore(){
        System.out.println(name+"总成绩是"+(chinese+math));
    }
    public void printAverageScore(){
        System.out.println(name+"平均成绩是aaaaa"+(chinese+math)/2);
    }

// sad
    public void printThis(){
        System.out.println(this);
    }
}
//day07九、面向对象综合案例